<?php $this->load->view('_inc/header_popup');?>
<script>
    $(document).ready(function(){
        $('.getComentario').click(function(){
             $('.popUpBack').fadeOut(600);
             var valor = $('#coment').val()
             var name = $('#coment').attr('name') + 'C';
             $('input[name='+name+']').val(valor);
         });
    });
</script>

<table>
    <tr>
        <td>
            <?php echo form_label('Comentario:')?><br>
            <?php echo form_textarea($nome,$dado,'id=coment')?>
        </td>
    </tr>
    <tr>
        <td>
            <?php echo form_button('','Adicionar','class=getComentario')?>
            <?php echo form_button('','Cancelar','class=cancela')?>
        </td>
    </tr>
</table>